﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductOrderDetails.aspx.cs" Inherits="Web.Cms.ProductCart.ProductOrderDetails" Theme="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
         <div class="fl" style="padding-bottom: 20px;">
          <p class="heading" style="margin-left:300px; ">
           CHI TIẾT ĐƠN HÀNG</p>
        </div>
        <div>
    <asp:Label ID="lblMessage" runat="server" Font-Bold="true" Font-Size="11px" 
        ForeColor="red"></asp:Label>
         </div>
        <div>
            <asp:GridView ID="grdProductOrderDetails" runat="server" 
                AutoGenerateColumns="False"  SkinID="AdminGridView" 
    EnableModelValidation="True" onrowcommand="grdProductOrderDetails_RowCommand">
    <Columns>
        <asp:BoundField HeaderText="STT">
        <ItemStyle HorizontalAlign="Center" Width="20px" />
        <HeaderStyle HorizontalAlign="Center" />
        <ItemStyle />
        </asp:BoundField>
        <asp:BoundField DataField="OrderId" HeaderText="Mã đơn hàng" />
        <asp:BoundField DataField="ProductId" HeaderText="Mã sản phẩm" />
        <asp:BoundField DataField="ProductName" HeaderText="Tên sản phẩm" />
        <asp:BoundField DataField="Quantity" HeaderStyle-Width="130" 
            HeaderText="Số lượng">
<HeaderStyle Width="130px"></HeaderStyle>
        </asp:BoundField>
<asp:BoundField DataField="Price" HeaderText="Đơn giá">
</asp:BoundField>
        <asp:BoundField DataField="Dealxu" HeaderText="Dealxu">
        <HeaderStyle HorizontalAlign="Center" Width="130px" />
        <ItemStyle HorizontalAlign="Center" />
        </asp:BoundField>
        <asp:TemplateField HeaderStyle-Width="20" HeaderText="Xóa">
            <ItemTemplate>
                <asp:Button ID="btnDelete" runat="server" 
                    CommandArgument='<%# Eval("OrderIdDe") %>' CommandName="Commanddelete" 
                    CssClass="Icon_Delete" 
                    OnClientClick="return confirm('Bạn có chắc chắn xóa chi tiết đơn hàng này không ?')" />
            </ItemTemplate>
            <HeaderStyle Width="20px" />
        </asp:TemplateField>
    </Columns>
</asp:GridView></div>
    </div>
    </form>
</body>
</html>
